/*
 * To change this pack, choose Tools | Templates
 * and open the pack in the editor.
 */
package com.jimu.longkong.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.SessionAttributes;
import org.springframework.web.servlet.ModelAndView;

/**
 *
 * @author mazhiqiang
 */
@Controller
public class IndexController {
    
    @RequestMapping("/index")
    public ModelAndView index(ModelMap model) {
        return new ModelAndView("/index.html");
    }

//    @RequestMapping("/error")
//    public ModelAndView error(ModelMap model) {
//        return new ModelAndView("/error.html");
//    }
    
}